package com.hc.service;


import java.util.Comparator;


import com.hc.bean.Dot;

public class DotComparator implements Comparator<Dot>{

	@Override
	public int compare(Dot o1, Dot o2) {
	
		return (int)(o1.getLength() - o2.getLength());
	}



}
